


package ciicos.check.model.checktask;


import ciicos.util.generater.DataSwapUtil;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @版本： V3.2.0
 * @版权：
 * @作者： 产研项目租
 * @日期： 2023-07-26
 */
@Data
public class CheckTaskListVO {
    private String id;

    @JSONField(name = "flowtaskid")
    private String flowtaskid;


    /**
     * 子表数据
     **/
    @JsonProperty("checkTaskItemList")
    @JSONField(name = "checkTaskItemList")
    private List<CheckTaskItemModel> checkTaskItemList;

    /**
     * 创建用户
     **/
    @JSONField(name = "creatoruserid")
    private String creatoruserid;


    /**
     * 创建时间
     **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(name = "creatortime")
    private Date creatortime;

    /**
     * 修改用户
     **/
    @JSONField(name = "lastmodifyuserid")
    private String lastmodifyuserid;


    /**
     * 修改时间
     **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(name = "lastmodifytime")
    private Date lastmodifytime;

    /**
     * 计划编码
     **/
    @JSONField(name = "plancode")
    private String plancode;


    /**
     * 计划名称
     **/
    @JSONField(name = "planname")
    private String planname;


    /**
     * 需要人数
     **/
    @JSONField(name = "needuser")
    private Integer needuser;
    /**
     * 计划用时
     **/
    @JSONField(name = "needtime")
    private Integer needtime;
    /**
     * 实际用时
     **/
    @JSONField(name = "realtime")
    private Double realtime;
    /**
     * 正偏差
     **/
    @JSONField(name = "errormax")
    private Double errormax;
    /**
     * 负偏差
     **/
    @JSONField(name = "errormin")
    private Double errormin;
    /**
     * 巡检队
     **/
    @JSONField(name = "checkteam")
    private String checkteam;

    /**
     * 多选组件重写get
     **/
    public void getCheckteam(String checkteam) {
        this.checkteam = DataSwapUtil.convertValueToString(checkteam, false, false);
    }

    /**
     * 任务编码
     **/
    @JSONField(name = "code")
    private String code;


    /**
     * 状态
     **/
    @JSONField(name = "status")
    private String status;

    /**
     * 多选组件重写get
     **/
    public void getStatus(String status) {
        this.status = DataSwapUtil.convertValueToString(status, false, false);
    }

    /**
     * 巡检项总数
     **/
    @JSONField(name = "itemtotals")
    private Integer itemtotals;
    /**
     * 巡检项完成数
     **/
    @JSONField(name = "itemfinisheds")
    private Integer itemfinisheds;
    /**
     * 巡检项异常数
     **/
    @JSONField(name = "itemanomalys")
    private Integer itemanomalys;
    /**
     * 确认结果
     **/
    @JSONField(name = "confirmresult")
    private String confirmresult;

    /**
     * 多选组件重写get
     **/
    public void getConfirmresult(String confirmresult) {
        this.confirmresult = DataSwapUtil.convertValueToString(confirmresult, false, false);
    }

    /**
     * 确认人
     **/
    @JSONField(name = "confirmuserid")
    private String confirmuserid;

    /**
     * 多选组件重写get
     **/
    public void getConfirmuserid(String confirmuserid) {
        this.confirmuserid = DataSwapUtil.convertValueToString(confirmuserid, false, false);
    }

    /**
     * 确认时间
     **/
    @JSONField(name = "confirmtime")
    private Long confirmtime;
    /**
     * 确认描述
     **/
    @JSONField(name = "confirmmsg")
    private String confirmmsg;

    /**
     * 指导文件
     **/
    @JSONField(name = "files")
    private String files;

    /**
     * 任务开始时间
     **/
    @JSONField(name = "taskstarttime")
    private Long taskstarttime;

    /**
     * 任务结束时间
     **/
    @JSONField(name = "taskendtime")
    private Long taskendtime;

    /**
     * 是否提前结束
     **/
    @JSONField(name = "endearly")
    private String endearly;

    /**
     * 提前结束描述
     **/
    @JSONField(name = "endearlydesc")
    private String endearlydesc;


    /**
     * 创建用户
     **/
    @JSONField(name = "creatoruserid_name")
    private String creatoruserid_name;


    /**
     * 创建时间
     **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(name = "creatortime_name")
    private Date creatortime_name;

    /**
     * 修改用户
     **/
    @JSONField(name = "lastmodifyuserid_name")
    private String lastmodifyuserid_name;


    /**
     * 修改时间
     **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(name = "lastmodifytime_name")
    private Date lastmodifytime_name;

    /**
     * 计划编码
     **/
    @JSONField(name = "plancode_name")
    private String plancode_name;


    /**
     * 计划名称
     **/
    @JSONField(name = "planname_name")
    private String planname_name;


    /**
     * 需要人数
     **/
    @JSONField(name = "needuser_name")
    private Integer needuser_name;
    /**
     * 计划用时
     **/
    @JSONField(name = "needtime_name")
    private Integer needtime_name;
    /**
     * 实际用时
     **/
    @JSONField(name = "realtime_name")
    private Double realtime_name;
    /**
     * 正偏差
     **/
    @JSONField(name = "errormax_name")
    private Double errormax_name;
    /**
     * 负偏差
     **/
    @JSONField(name = "errormin_name")
    private Double errormin_name;
    /**
     * 巡检队
     **/
    @JSONField(name = "checkteam_name")
    private String checkteam_name;


    /**
     * 任务编码
     **/
    @JSONField(name = "code_name")
    private String code_name;


    /**
     * 状态
     **/
    @JSONField(name = "status_name")
    private String status_name;


    /**
     * 巡检项总数
     **/
    @JSONField(name = "itemtotals_name")
    private Integer itemtotals_name;
    /**
     * 巡检项完成数
     **/
    @JSONField(name = "itemfinisheds_name")
    private Integer itemfinisheds_name;
    /**
     * 巡检项异常数
     **/
    @JSONField(name = "itemanomalys_name")
    private Integer itemanomalys_name;
    /**
     * 确认结果
     **/
    @JSONField(name = "confirmresult_name")
    private String confirmresult_name;


    /**
     * 确认人
     **/
    @JSONField(name = "confirmuserid_name")
    private String confirmuserid_name;


    /**
     * 确认时间
     **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(name = "confirmtime_name")
    private Date confirmtime_name;
    /**
     * 确认描述
     **/
    @JSONField(name = "confirmmsg_name")
    private String confirmmsg_name;


    /**
     * 指导文件
     **/
    @JSONField(name = "files_name")
    private String files_name;


    /**
     * 任务开始时间
     **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @JSONField(name = "taskstarttime_name")
    private Date taskstarttime_name;

    /**
     * 任务结束时间
     **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @JSONField(name = "taskendtime_name")
    private Date taskendtime_name;

    /**
     * 是否提前结束
     **/
    @JSONField(name = "endearly_name")
    private String endearly_name;

    /**
     * 提前结束描述
     **/
    @JSONField(name = "endearlydesc_name")
    private String endearlydesc_name;


    @JSONField(name = "realstarttime")
    private String realstarttime;

    @JSONField(name = "realendtime")
    private String realendtime;

    @JSONField(name = "uploadtime")
    private String uploadtime;

    @JSONField(name = "actionusers")
    private String actionusers;
}
